package com.bbs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page")
public class pageController {
    @RequestMapping("/login")
    public String loginWeb(){
        return "login";
    }
    @RequestMapping("/index")
    public String index(){
        return "index";
    }
    @RequestMapping("/admin/viewAdmin")
    public String viewAdmin(){
        return "/admin/viewAdmin";
    }
    @RequestMapping("/admin/updateAdmin")
    public String updateAdmin(){
        return "/admin/updateAdmin";
    }
    @RequestMapping("/admin/addAdmin")
    public String addAdmin(){
        return "/admin/addAdmin";
    }
}
